package com.dynamic.data.source.config;

import com.dynamic.data.source.domain.UserInfo;
import lombok.Data;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 开发公司：联信
 * 版权：联信
 * <p>
 * Annotation
 *
 * @author 刘志强
 * @created Create Time: 2021/1/22
 */
@Data
public class DataSourceAdmin {

    /**
     * userId, 数据源
     */
    public static final Map<Object, Object> dataSourceMap = new ConcurrentHashMap<>();

    /**
     * token, user
     */
    public static final Map<String, UserInfo> userMap = new ConcurrentHashMap<>();

}
